package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.*;
import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.model.response.result.ExchangeCoinInfoQueryPageResult;
import com.sgzn.sgpay.persistence.domain.TExchangeCoinInfo;

/**
 * 兑换比例管理服务
 * @author huangsenguang
 * @version Id: SgsExchangeCoinInfoService.java, v 0.1 2018/4/25 20:51 huangsenguang Exp $$
 */
public interface SgsExchangeCoinInfoService {
    /**
     * 添加兑换比例
     * @param request
     */
    SgsResultResponse<String> addExchangeCoinInfo(SgsExchangeCoinInfoAddRequest request);

    /**
     * 删除兑换比例
     * @param request
     */
    SgsResultResponse<String> deleteExchangeCoinInfo(SgsExchangeCoinInfoDeleteRequest request);


    /**
     * 查询兑换比例
     * @param request
     */
    SgsResultResponse<TExchangeCoinInfo> queryExchangeCoinInfo(SgsExchangeCoinInfoQueryRequest request);

    /**
     * 更新兑换比例
     */
    SgsResultResponse<String> updateExchangeCoinInfo(SgsExchangeCoinInfoUpdateRequest request);

    /**
     * 兑换比例分页查询
     * @param request
     * @return
     */
    SgsResultResponse<ExchangeCoinInfoQueryPageResult> queryPage(SgsExchangeCoinInfoQueryPageRequest request);
}

